body{
    font-size:1em;
}

img{
    border:0px;
}

h1{
    font-size:1.5em;
    margin-bottom: 5px; 
    margin-top: 10px;
}

.menu-container{width:20%;float:right;}


.header h1{
    display:inline;
}

.prev span, .next span{
    margin: 0 !important;
    padding: 0 !important;
}

.marc, .pdf, .ddi{
    border: medium none;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF !important;
    cursor: pointer;
    display: inline;
    font-weight: bold;
    padding: 1px 4px;
    font-size: 9px;
    text-shadow: 1px 1px #666666;
}

.pdf{background: #E50000;}
.marc{background:#2C6DA0;}
.ddi{background:#58AA00;}

.selected{
    background-image: url("img/selected.png");
    color:#E50000;
    background-position: left center;
    background-repeat: no-repeat;    
}

#search{
    width:49%;
}

#series{
    width:35em;
}

a { color:#477099; text-decoration:none }
a:hover { text-decoration:underline }

#menu { float:left; width:90%; background:#f1f1f1; padding:0; list-style:none; margin:0 10px 0 0;	-moz-border-radius: 0.5em;border-radius: 0.5em; }
#menu a { display:block; padding:10px 6px; border-bottom:1px solid #ccc }
#menu a:hover,
#menu a:active { background:#C3D3DA; text-decoration:none }
#menu a:active { color:#252823 }

#center-div{
    clear:both;
    width:100%;
}

#result-wrapper{
    clear:both;
    width:100%;
}

#result{
    font-size:0.75em;
    float:left;
    width:70%;
}

#facets{
    float:left;
    clear:right;
    padding:5px;
    margin-right:5px;
    width:10%;
}

#facets ul{
    padding-left:0px;
    font-size:0.85em;
    list-style:none;
}

#facets .ui-dialog-title{
    font-weight:normal;
    padding-left: 5px;
}

.facet{
    list-style: none;
    font-weight: bold;
}

.term .docs, .count{
    color:gray;
}

.term a{
    padding-left: 18px;
}

.advanced {
    margin: 0;
    padding: 0;
    width: 500px;
    font-size:0.85em;
}

.advanced label{
    padding-top:3px;
}

.advanced input{
    margin-bottom: 3px;
}

.question-info, .variable-info{
    background-image: url("img/plus.png");
    background-position: left center;
    background-repeat: no-repeat;
    cursor: pointer;
    margin: 1px;
    padding-bottom: 2px;
    padding-left: 16px;
    padding-top: 5px;
    position: relative;
}

.top-level, .variable-block ul{
    padding-left:2px;
    margin-top:0px;
}

.question-name, .variable-name{
    display: inline-block;
    color:gray;
    font-size:0.75em;
    padding-right: 4px;
}
.question-block .lang-strings, .variable-block .lang-strings{
    display: inline;    
    padding:2px;
}

#languages{
    font-size:0.85em;
}

#availability{
    width:100%;
}

.heading {
    background-image:url('img/plus.png');
    background-repeat:no-repeat;
    background-position:left center; 
    margin: 1px;
    padding-left: 16px; padding-top: 2px; padding-bottom: 2px;
    cursor: pointer;
    position: relative;
}

.header-open{
    background-image:url('img/minus.png');
    color: #fff;
    background-color:#AAAAAA;
    -moz-border-radius: 0.5em 0.5em 0em 0em;
    border-radius: 0.5em 0.5em 0em 0em;
}

.content {
    padding: 5px 10px;
    background-color:#fafafa;
}

.question-tab a, .question-icon{
    background-image:url('img/question.png');
    list-style:none;
    background-repeat:no-repeat;
    background-position:left center; 
    padding-left: 20px !important;
    margin-left: 3px !important;
}
.question-icon{
    background-position:0px 2px;
}

.question-sub{
    padding-left:15px;
}

.variable-tab a, .variable-icon{
    background-image:url('img/variable.png');
    background-repeat:no-repeat;
    list-style:none;
    background-position:left center; 
    padding-left: 20px !important;
    margin-left: 3px !important;    
}

.study-tab a, .study{
    background-image:url('img/study.png');
    background-repeat:no-repeat;
    background-position:left center; 
    padding-left: 20px !important;
    margin-left: 3px !important;	
}

.studies ul{
    list-style: none;
    padding-left: 0px;
}

.loading{
    background-image:url('img/ajax_load.gif') !important;	
    background-repeat:no-repeat !important;
}

.question-in-studies-list li a{
    background-image:url('img/study.png');
    background-repeat:no-repeat;
    background-position:left center; 
    padding-left: 20px !important;
    margin-left: 3px !important;	 
}

p { padding: 5px 0; }

.ui-button{
    font-size:0.75em;

}

.left{
    display:block;
    float:left;
    font-size:0.65em;
    margin-left:15px;
}


/* pagination */
.pagination {
    font-size: 80%;
    height: 18px;
}

.pagination a {
    text-decoration: none;
    border: solid 1px #AAE;
    color: #15B;
}

.pagination a, .pagination span {
    display: block;
    float: left;
    padding: 0.3em 0.5em;
    margin-right: 5px;
    margin-bottom: 5px;
}

.pagination .current {
    background: #26B;
    color: #fff;
    border: solid 1px #AAE;
}

.pagination .current.prev, .pagination .current.next{
    color:#999;
    border-color:#999;
    background:#fff;
}

#qb-pagination{
    display: block; margin-bottom: 10px;
}

.question-block, .variable-block{
    border: 1px solid grey;
    margin: 5px;
    margin-left: 0px;
    padding: 4px;
    box-shadow: 2px 2px 3px grey;
    border-radius: 2px;
}

.question-block h4{margin-top: 4px !important; margin-bottom: 4px !important;}
.question-block p, .variable-bock p{margin-top: 2px !important; margin-bottom: 2px !important;}

.question-block p, .variable-block p{
    margin-top: 6px !important; margin-bottom: 6px !important;
}

.ui-autocomplete{
    font-size:0.75em;
}

.highlight{
    background-color: #FFFF88;
}